View OSPF Errors on a Port

Check OSPF errors for administrative and troubleshooting purposes.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display extended information about OSPF errors for the specified port or for all ports:

    show ip ospf port-error [port {sub-port]][,...][slot/all][all]}] [vrf WORD<1-16>] [vrfids WORD<0-512>]

Variable definitions

The following table defines parameters for the show ip ospf port-error command.

Variable

Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

vrf WORD<1-16>

Specifies the VRF by name.

vrfids WORD<0-512>

Specifies a range of VRFs by ID number.